organization := "ws"

name := "ndl"

version := "0.0.0"

scalaVersion := "2.11.11"


javacOptions ++= Seq("-source", "1.8", "-encoding", "UTF-8")


resolvers +=
  "bintray maven" at "https://dl.bintray.com/sbcd90/org.apache.spark/"


//scalaSource in Test := baseDirectory.value / "test"

PB.protoSources in Compile += (baseDirectory).value /".."/ "protobuf"

testNGVersion := "6.14.3"

enablePlugins(TestNGPlugin)



libraryDependencies ++= Seq(
  "io.grpc" % "grpc-netty" % scalapb.compiler.Version.grpcJavaVersion,
  "com.thesamet.scalapb" %% "scalapb-runtime-grpc" % scalapb.compiler.Version.scalapbVersion
)

libraryDependencies += "com.thesamet.scalapb" %% "scalapb-runtime" % scalapb.compiler.Version.scalapbVersion % "protobuf"

libraryDependencies += "org.apache.calcite" % "calcite-core" % "1.15.0"


PB.pythonExe := "C:\\Python27\\Python.exe"

PB.targets in Compile := Seq(
  scalapb.gen() -> (sourceManaged in Compile).value
)


lazy val lang = RootProject(file("../very-util-lang"))

lazy val ndl=project.in(file(".")).dependsOn(lang)